<?php
class Wee_Logging_Model_Logging{
    const MODULE_NAME = 'Wee_Logging';
    public function hasValidLicense(){
		return true;
        $licenseFile = Mage :: getModuleDir('', self :: MODULE_NAME) . '/license.mgt';
        if (!file_exists($licenseFile)){
            return false;
        }
        eval(gzinflate(base64_decode(file_get_contents($licenseFile))));
        $currentHost = str_replace('www.', '', $_SERVER['HTTP_HOST']);
        $today = new DateTime();
        if (isset($license['expireDate']) && $license['expireDate']){
            $expireDate = new Zend_Date();
            $expireDate -> setTimestamp($license['expireDate']);
        }
        if (is_array($license) && $license['module'] == self :: MODULE_NAME && in_array($currentHost, $license['domains']) && (!$license['expireDate'] || $license['expireDate'] && $expireDate -> isLater(Zend_Date :: now()))){
            return true;
        }
        return false;
    }
}